<%@ include file="/en/jsp/static.jsp" %>
<%@ taglib uri="/linuxbox/UserAdmin.tld" prefix="user" %>

<%
  String  SortType = "NAME";
  String tmp = request.getParameter("SORT_TYPE");
  if (tmp != null && tmp.length() > 0)
    SortType = tmp;
%>
<jsp:include page="/en/jsp/header.jsp" flush="true"/>

<table width="100%" height=26 align=middle border=0 cellpadding=0 cellspacing=0 bgcolor="#f4f4f4" style="font-size:16px;color:#d05000">
<tr><td>
    &nbsp;<img src="<%=BoxStatic.imageDir%>itemball.jpg" width=14 height=15 border=0 align="absmiddle">
    <b><%=boxName%> - Users AddressBook</b>
</td></tr>
</table>
<br>

  <table width="100%">
  <tr>
    <td><A href="<%=BoxStatic.servletDir%>UserManEditAction?USER_ID=<%=curID%>">Edit your own profile</A></td>
    <td><a href="<%=BoxStatic.jspDir%>addrbook/UserSearch.jsp">Search</a></td>
  </tr>
  </table><br>

  <TABLE class="t1" WIDTH="98%" BORDER=0 CELLSPACING=1 CELLPADDING=0>
    <TR bgcolor=silver>
    <TH><A href="<%=BoxStatic.jspDir%>addrbook/AddressBook.jsp?SORT_TYPE=NAME">Name</A></TH>
    <TH><A href="<%=BoxStatic.jspDir%>addrbook/AddressBook.jsp?SORT_TYPE=PHONE">Phone</A></TH>
    <TH><A href="<%=BoxStatic.jspDir%>addrbook/AddressBook.jsp?SORT_TYPE=EMAIL">Email</A></TH>
    <TH><A href="<%=BoxStatic.jspDir%>addrbook/AddressBook.jsp?SORT_TYPE=DEPT">Department</A></TH>
    </TR>

    <user:UserList listType="table" sortType="<%=SortType%>"/>

  </TABLE>
<jsp:include page="/en/jsp/footer.jsp" flush="true"/>
